package com.itheima.health.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.health.dto.RoleDTO;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.entity.Result;
import com.itheima.health.pojo.Role;
import com.itheima.health.vo.RoleVO;

public interface RoleService extends IService<Role> {
    Result findPage(QueryPageBean queryPageBean);

    Boolean add(RoleDTO roleDTO);

    RoleVO findPermissionIdsbyRoleId(int id);

    Boolean deleteById(int id);

//    RoleVO findMenuIdsbyGRoleId(int id);
}
